package com.gary.shiro.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author peng_rui
 * @date 2022/3/26
 */
@Data
public class LoginParam implements Serializable {
    private static final long serialVersionUID = 1899821639824001172L;

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;
}
